package com.cskaoyan.util;


/**
 * param
 * 参数校验判断非空或null
 *
 * @author 李然
 * @date 2022/10/12
 */
public class ParamUtils {

    public static boolean isValid(String param) {
        return param != null && !"".equals(param);
    }

    public static boolean isValid(Integer param) {
        return param != null;
    }

    public static boolean isValid(Short param) {
        return param != null;
    }


}
